package com.situ.week1.day1.cal;

import org.junit.Test;

public class test2 {
    public static void main(String[] args) {


    }

    @Test
    public void test1() {
        int[] array1 = new int[3];
        char[] array2 = new char[3];
        double[] array3 = new double[3];
        boolean[] array4 = new boolean[3];
    }
    @Test
    public void test2() {
        int num = 3;
        int score1 = 84;
        int score2 = 54;
        int score3 = 64;
        int[] array = new int[4];
        System.out.println("length: " + array.length);
        array[0] = 33;
        array[1] = 2;
        array[2] = 45;
        array[3] = 19;
        for (int i = 0; i < array.length; i++) {
            System.out.println(array[i]);
        }
        System.out.println("--------------------");
        for (int i = array.length - 1; i >= 0; i--) {
            System.out.println(array[i]);
        }
    }
    @Test
    public void test3() {
        int[] array = new int[4];
    }
}
